package gemini.basic.manager;

import gemini.basic.exception.IdentityExistedException;
import gemini.basic.model.Person;

import org.springframework.transaction.annotation.Transactional;

@Transactional(rollbackFor = Throwable.class)
public interface PersonManager {

	public Person saveOrUpdate(Person person) throws IdentityExistedException;

	public Person getById(int id);
}
